// StandardOfSpring.cpp: implementation of the StandardOfSpring class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "StandardOfSpring.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

StandardOfSpring::StandardOfSpring(const CString& strStandard):Standard(strStandard)
{

}

StandardOfSpring::~StandardOfSpring()
{

}

StandardOfSpring& StandardOfSpring::operator=(StandardOfSpring& standard)
{
	if(this == &standard)
		return *this;

	this->m_strCrudeDataTable = standard.m_strCrudeDataTable;
	this->m_strDisplacementUnit = standard.m_strDisplacementUnit;
	this->m_strFolder = standard.m_strFolder;
	this->m_strForceUnit = standard.m_strForceUnit;
	this->m_strIDDataTable = standard.m_strIDDataTable;
	this->m_strManufactory = standard.m_strManufactory;
	this->m_strMaxDisplacementTable = standard.m_strMaxDisplacementTable;
	this->m_strNutDiameterSerierTable = standard.m_strNutDiameterSerierTable;
	this->m_strObservation = standard.m_strObservation;
	this->m_strPropertyDataTable = standard.m_strPropertyDataTable;

	this->SetStandardName(standard.GetStandard());
	this->SetStandardID(standard.GetStandardID());
	this->SetDescription(standard.GetDescription());

	return *this;
}